<?php get_header(' '); ?>
<div id="main" class="main-with-sidebar clearfix">
	<div id="post-content"> 
		<div id="post-header">
			<?php if (have_posts()) : ?>
			<?php $post = $posts[0]; ?>
			<?php if (is_category()) { ?>
			<h1 id="archive-title">Category: "<?php single_cat_title(); ?>"</h1>
			<?php } elseif( is_tag() ) { ?>
            <h1 id="archive-title">Posts Tagged: &quot;<?php single_tag_title(); ?>&quot;</h1>
            <?php  } elseif (is_day()) { ?>
            <h1 id="archive-title">Archive For: <?php the_time('F jS, Y'); ?></h1>
            <?php  } elseif (is_month()) { ?>
            <h1 id="archive-title">Archive For: <?php the_time('F, Y'); ?></h1>
            <?php  } elseif (is_year()) { ?>
            <h1 id="archive-title">Archive For: <?php the_time('Y'); ?></h1>
            <?php  } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
            <h1 id="archive-title">Blog Archives</h1>
            <?php } ?>
            <?php echo category_description( $category ); ?>
        </div>
        <!-- END blog-header -->
		<?php
        // get code for the loop
        get_template_part( 'post' , 'entry') ?>                	
        <?php endif; ?> 
        <?php
        // include pagination
        if (function_exists("pagination")) { pagination($additional_loop->max_num_pages); } ?>
    </div>
    <!-- END post-content -->
<?php get_sidebar(' '); ?>    
<?php get_footer(' '); ?>